<template>
  <van-nav-bar
    title="热点新闻"
    left-text="收藏"
    right-text="刷新"
    @click-right="refresh"
  />
</template>

<script setup>
const refresh = () => {
  window.location.reload();
};
</script>
